/**
 * @author yanggjun
 */

CrossCheck = {
		LineShpere: function(m,n,q,r,px,py,pz){
			var b = 2*(px*m + py*n + pz*q);
			var a = px*px + py*py + pz*pz;
			var c = m*m + n*n + q*q - r*r;
			
			var deta = b*b - 4*a*c;
			var k1 = 0, k2 = 0;
			if(deta >= 0){
				return true;
			}else{
				return false;
			}
		}
}